import React, { PureComponent } from "react";

export default class extends PureComponent {
  render() {
    const { zoom = 1 } = this.props;
    const style = {
      width: 100 * zoom,
      height: 100 * zoom,
      border: "1px solid lightpink"
    };

    return <div style={style}>square zoom: {zoom}</div>;
  }
}
